public class GameController {
	
	private Game game;
	private GameView view;
	
	public GameController(Game game){
		this.game = game;
		this.view = new GameView(game, this);
		
		if(Game.getNumberOfPlayers() == 1){
    		this.game.notifyRedCarObservers();
    	} else if(Game.getNumberOfPlayers() == 2){
    		this.game.notifyRedCarObservers();
    		this.game.notifyGreenCarObservers();
    	}
	}
	
	public void moveRedCar(String direction){
		game.moveRedCar(direction);
	}
}
